import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'
import userData from './module/user'

Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        userData
    },
    plugins: [
        createPersistedState()
    ]
})